#include "Actor.h"
#include "BoundingBox.h"
#include "Wmo.h"
#include "VertexBuffer.h"
#include "IndexBuffer.h"

struct WmoGroupMogp
{
	unsigned int	GroupNameOffset;
	unsigned int	DescriptiveGroupNameOffset;
	unsigned int	Flags;
	BoundingBox		BoundingBox;
	unsigned short	MoprOffset;
	unsigned short	MoprItemCount;
	unsigned short	BatchCount0;
	unsigned short	BatchCount1;
	unsigned int	BatchCount2;
	unsigned char	FogIndices[4];
	unsigned int	LiquidTypeRelated;
	unsigned int	ID;
	unsigned int	Unknown0;
};

class WmoGroup : public Actor
{
public:
	WmoGroup();
public:
	~WmoGroup();
public:
	void Load(std::string string);
	void Draw(GLenum drawType) const;
private:
	VertexBuffer*	m_pVertexBuffer;
	IndexBuffer*	m_pIndexBuffer;
};